<template>
	<view>
		<view class="flex_start flex_items plr20 box_b flex1 ptb20">
			<input v-model="keys" class="inpBox plr20 box_b f28" placeholder="请输入搜索关键词" placeholder-class="cc" />
			<view @click="search" class="btn1 flex_center flex_items f30 cf ml10 flex_shrink">搜索</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				keys: '',
				selectAlert: false
			};
		},
		created() {

		},
		methods: {
			search() {
				this.$emit('seaItem', {
					detail: {
						type: 'search',
						keys: this.keys
					}
				});
			},
		}
	};
</script>

<style scoped>
	.inpBox {
		flex: 1;
		height: 80rpx;
		border-radius: 10rpx;
		border: 1px solid #eeeeee;
	}
	.btn1 {
		width: 160rpx;
		height: 80rpx;
		border-radius: 10rpx;
		background: #3b63fe;
	}
</style>